package cn.edu.gzgs.dto;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 邮件列表传输对象
 * 与前端email_msg接口保持一致
 */
@Data
public class EmailListDTO {
    
    private Long id;
    
    @JsonProperty("sender_id")
    private String senderId;
    
    @JsonProperty("sender_name")
    private String senderName;
    
    @JsonProperty("accept_id")
    private String acceptId;
    
    private String title;
    
    private String type;
    
    private String content;
    
    private String time; // 使用String格式，与前端保持一致
    
    @JsonProperty("isRead")
    private Boolean isRead;
}